<%@ page import="ink.onei.production.service.SystemInfo" %>
<%@ page import="org.springframework.core.SpringVersion" %>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<%



%>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="/resources/css/font.css">
    <link rel="stylesheet" href="/resources/css/xadmin.css">
    <link rel="stylesheet" href="/resources/lib/FontAwesome/css/all.css">
    <script src="/resources/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/resources/js/xadmin.js"></script>
</head>
<!--@formatter:off-->
<body>
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-body ">
                        <blockquote class="layui-elem-quote"><i class="fa-duotone fa-party-horn"></i> 欢迎管理员：<span class="x-red"><%=session.getAttribute("loginUser")%></span>！当前时间：<span id="times"></span></blockquote>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header"><i class="fa-duotone fa-chart-mixed"></i> 数据统计</div>
                    <div class="layui-card-body ">
                        <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                            <li class="layui-col-md2 layui-col-xs6"><a href="javascript:void(0);" class="x-admin-backlog-body"><h3>订单数量</h3><p><cite>66</cite></p></a></li>
                            <li class="layui-col-md2 layui-col-xs6"><a href="javascript:void(0);" class="x-admin-backlog-body"><h3>客户数量</h3><p><cite>12</cite></p></a></li>
                            <li class="layui-col-md2 layui-col-xs6"><a href="javascript:void(0);" class="x-admin-backlog-body"><h3>产品数量</h3><p><cite>67</cite></p></a></li>
                            <li class="layui-col-md2 layui-col-xs6"><a href="javascript:void(0);" class="x-admin-backlog-body"><h3>员工数量</h3><p><cite>99</cite></p></a></li>
                            <li class="layui-col-md2 layui-col-xs6"><a href="javascript:void(0);" class="x-admin-backlog-body"><h3>文章数</h3><p><cite>67</cite></p></a></li>
                            <li class="layui-col-md2 layui-col-xs6 "><a href="javascript:void(0);" class="x-admin-backlog-body"><h3>文章数</h3><p><cite>6766</cite></p></a></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header"><i class="fa-duotone fa-computer-classic"></i> 系统信息</div>
                    <div class="layui-card-body ">
                        <table class="layui-table">
                            <tbody>
                            <tr><th>xxx版本</th><td>1.0.180420</td></tr>
                            <tr><th>服务器地址</th><td><%=SystemInfo.os_ip%></td></tr>
                            <tr><th>操作系统</th><td><%=SystemInfo.os_name%></td></tr>
                            <tr><th>系统架构</th><td><%=SystemInfo.os_arch%></td></tr>
                            <tr><th>服务器类型</th><td><%=request.getServletContext().getServerInfo()%></td></tr>
                            <tr><th>Java™ 版本</th><td><%=SystemInfo.java_version%></td></tr>
                            <tr><th>PHP运行方式</th><td><%=SystemInfo.server_host%></td></tr>
                            <tr><th>ThinkPHP</th><td><%=SystemInfo.os_name%></td></tr>
                            <tr><th>上传附件限制</th><td>2M</td></tr>
                            <tr><th>执行时间限制</th><td>30s</td></tr>
                            <tr><th>Spring Version</th><td><%=request.getServletContext().getAttribute("springVersion")%></td></tr>
                            <tr><th>软件版本</th><td><%=request.getServletContext().getAttribute("pkgVersion")%></td></tr>
                            <tr><th>剩余空间</th><td><%=request.getServletContext().getVirtualServerName()%></td></tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header"><i class="fa-duotone fa-keyboard"></i> 开发团队</div>
                    <div class="layui-card-body ">
                        <table class="layui-table">
                            <tbody>
                            <tr><th>版权所有</th><td>xuebingsi(xuebingsi)<a href="http://x.xuebingsi.com/" target="_blank">访问官网</a></td></tr>
                            <tr><th>开发者</th><td>马志斌(113664000@qq.com)</td></tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <style id="welcome_style"></style>
            <div class="layui-col-md12">
                <blockquote class="layui-elem-quote layui-quote-nm">感谢layui,百度Echarts,jquery,本系统由x-admin提供技术支持。</blockquote></div>
        </div>
    </div>
</body>
<!--@formatter:on-->

<script>
    function getDate(){document.getElementById("times").innerHTML = new Date().toLocaleString();}
    setInterval("getDate()",500);
</script>
</html>